package oboe.functors;

import oboe.core.SigSlot;
import oboe.math.Number3D;

public dynamic class CollisionData
{
public var target:SigSlot;
public var corrector:Float3D;

public function CollisionData( target:SigSlot, corrector:Float3D, data:Object=null )
{
	this.target = target;
	this.corrector = new Number3D( corrector.x, corrector.y, corrector.z );
	if( data )
	{
	for( var k:String in data )
	{
		this[k] = data[k];
	}
	}
}
}